import axios from 'axios';

export default {
    getAgencyFeeInfo(data) {
        return axios({
            url: '/api/fm_jshzb/agencyFeeInfo',
            method: 'post',
            data
        });
    },
    selectWorkOrderOrder(body, cancelToken) {
        return axios({
            url: '/api/fm_business_order/selectWorkOrderOrder',
            method: 'post',
            data: body,
            cancelToken
        })
    },
    selectByOrderNum(body) {
        return axios({
            url: '/api/fm_business_order/getBusinessOrder',
            method: 'post',
            data: body
        })
    },
    selectWorkOrderGoodsGroupByCompanyId(body) {
        return axios({
            url: '/api/fm_business_order/selectWorkOrderGoodsGroupByCompanyId',
            method: 'post',
            data: body
        })
    },
    selectWorkOrderGoodsGroupByMatType(body) {
        return axios({
            url: '/api/fm_business_order/selectWorkOrderGoodsGroupByMatType',
            method: 'post',
            data: body
        })
    },
    queryContainerGoodsList(body, cancelToken) {
        return axios({
            url: '/api/fm_business_order/queryContainerGoodsList',
            method: 'post',
            data: body,
            cancelToken
        })
    },
    queryContainerGoodsDetailList(body) {
        return axios({
            url: '/api/fm_business_order/queryContainerGoodsDetailList',
            method: 'post',
            data: body
        })
    },
    queryMatNameGoodsList(body, cancelToken) {
        return axios({
            url: '/api/fm_business_order/queryMatNameGoodsList',
            method: 'post',
            data: body,
            cancelToken
        })
    }
}
